<?php
namespace Admin\Controller;

/**
 * 前台首页控制器
 * 主要获取首页聚合数据
 */
class FeedbackController extends AdminController {

	//系统首页
    public function index(){
        /* 查询条件初始化 */
        $map = array();
        $map  = array('delflag' => 0, 'deal_flag' => 0);
        //$status = I('status', false);
        $list = $this->lists('feedback', $map,'createAt,id');
        // 记录当前列表页的cookie
        Cookie('__forward__',$_SERVER['REQUEST_URI']);
        $this->assign('list', $list);
        $this->meta_title = '用户反馈';
        $this->display();
    }
}
?>